//
//  DrawView.h
//  FavDraw
//
//  Created by lang honglin on 11-2-24.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CFigureDoc.h"
#import "Constants.h"

@interface DrawView : UIView {
	
	CGPoint		firstTouch;
	CGPoint		lastTouch;
	UIColor		*currentColor;
	ShapeType	shapeType;
	UIImage		*drawImage;
	CGRect		redrawRect;
	
	//图形存储对象
	CFigureDoc*  figureDoc;
	
}

@property CGPoint firstTouch;
@property CGPoint lastTouch;
@property (nonatomic, retain) UIColor *currentColor;
@property ShapeType shapeType;
@property (nonatomic, retain) UIImage *drawImage;
@property (readonly) CGRect currentRect;
@property CGRect redrawRect;

@end
